package flexexamples.rawls
{
	import mx.controls.Alert;
	
	import org.as3commons.logging.ILogger;
	import org.as3commons.logging.LoggerFactory;
	
	/*
	* Just a class that Alerts a name.
	* And yes, it also logs your input.
	*/
	public class RawlsShouter
	{
		private static const logger:ILogger = LoggerFactory.getClassLogger(RawlsShouter);
		
		public function shout( nameToShoutTo:String ) : void
		{
			logger.info("These are for you {0}", nameToShoutTo);
			Alert.show("These are for you " + nameToShoutTo +"\n(Hint: Check the jetty-log also.)", "Rawls shouted");
		}
	}
}
